object frmPrincipal: TfrmPrincipal
  Left = 0
  Top = 0
  Caption = 'Principal'
  ClientHeight = 773
  ClientWidth = 1048
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pnlBaixo: TPanel
    Left = 0
    Top = 752
    Width = 1048
    Height = 21
    Align = alBottom
    TabOrder = 0
    object sbarPrincipal: TdxStatusBar
      Left = 1
      Top = -2
      Width = 1046
      Height = 22
      Panels = <
        item
          PanelStyleClassName = 'TdxStatusBarTextPanelStyle'
          Text = ' Publisoft'#174' '
          Width = 80
        end
        item
          PanelStyleClassName = 'TdxStatusBarTextPanelStyle'
          Text = 'Servidor :'
          Width = 200
        end
        item
          PanelStyleClassName = 'TdxStatusBarTextPanelStyle'
          Text = 'Banco :'
          Width = 200
        end
        item
          PanelStyleClassName = 'TdxStatusBarTextPanelStyle'
          Text = 'Usu'#225'rio :'
          Width = 200
        end
        item
          PanelStyleClassName = 'TdxStatusBarTextPanelStyle'
          Text = 'Vers'#227'o :'
        end>
      PaintStyle = stpsUseLookAndFeel
      ParentFont = True
    end
  end
  object pnlBotoes: TPanel
    Left = 0
    Top = 711
    Width = 1048
    Height = 41
    Align = alBottom
    TabOrder = 1
    object btnImpConcurso: TcxButton
      Left = 8
      Top = 10
      Width = 105
      Height = 25
      Caption = 'Importar Concursos'
      TabOrder = 0
      OnClick = btnImpConcursoClick
    end
  end
  object pnlCentral: TPanel
    Left = 0
    Top = 0
    Width = 1048
    Height = 711
    Align = alClient
    TabOrder = 2
    object Splitter1: TSplitter
      Left = 1
      Top = 440
      Width = 1046
      Height = 4
      Cursor = crVSplit
      Align = alBottom
      ExplicitTop = 428
      ExplicitWidth = 1044
    end
    object cxPageControl1: TcxPageControl
      Left = 1
      Top = 444
      Width = 1046
      Height = 266
      ActivePage = tbsHorizontal
      Align = alBottom
      TabOrder = 0
      ClientRectBottom = 261
      ClientRectLeft = 5
      ClientRectRight = 1041
      ClientRectTop = 26
      object tbsConcursos: TcxTabSheet
        Caption = 'Concursos'
        ImageIndex = 0
        object grdConcursos: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          object grdvwConcursos: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsConcursos
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwConcursosHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
            end
            object grdvwConcursosDATA_SORTEIO: TcxGridDBColumn
              Caption = 'Dt Sorteio'
              DataBinding.FieldName = 'DATA_SORTEIO'
              Width = 72
            end
            object grdvwConcursosARRECADACAO_TOTAL: TcxGridDBColumn
              Caption = 'Arrecada'#231#227'o Total'
              DataBinding.FieldName = 'ARRECADACAO_TOTAL'
              Width = 96
            end
            object grdvwConcursosACUMULADO: TcxGridDBColumn
              Caption = 'Acumulado'
              DataBinding.FieldName = 'ACUMULADO'
              Width = 61
            end
            object grdvwConcursosVALOR_ACUMULADO: TcxGridDBColumn
              Caption = 'Valor Acumulado'
              DataBinding.FieldName = 'VALOR_ACUMULADO'
              Width = 88
            end
            object grdvwConcursosESTIMATIVA_PREMIO: TcxGridDBColumn
              Caption = 'Estimativa Pr'#234'mio'
              DataBinding.FieldName = 'ESTIMATIVA_PREMIO'
              Width = 92
            end
            object grdvwConcursosACUMULADO_NATAL: TcxGridDBColumn
              Caption = 'Acumulado Natal'
              DataBinding.FieldName = 'ACUMULADO_NATAL'
              Width = 92
            end
            object grdvwConcursosI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 90
            end
            object grdvwConcursosI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
              Width = 76
            end
            object grdvwConcursosTIPO_VIZINHOS: TcxGridDBColumn
              Caption = 'Tipo Vizinhos'
              DataBinding.FieldName = 'TIPO_VIZINHOS'
              Width = 149
            end
          end
          object grdlvConcursos: TcxGridLevel
            GridView = grdvwConcursos
          end
        end
      end
      object tbsGanhadores: TcxTabSheet
        Caption = 'Ganhadores'
        ImageIndex = 1
        object grdGanhadores: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          object grdvwGanhadores: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsGanhadores
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwGanhadoresHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
              Width = 41
            end
            object grdvwGanhadoresHANDLE_CONCURO: TcxGridDBColumn
              Caption = 'Handle Concurso'
              DataBinding.FieldName = 'HANDLE_CONCURO'
              Width = 85
            end
            object grdvwGanhadoresGANHADORES_SENA: TcxGridDBColumn
              Caption = 'Ganhadores Sena'
              DataBinding.FieldName = 'GANHADORES_SENA'
              Width = 92
            end
            object grdvwGanhadoresRATEIO_SENA: TcxGridDBColumn
              Caption = 'Rateio Sena'
              DataBinding.FieldName = 'RATEIO_SENA'
            end
            object grdvwGanhadoresGANHADORES_QUINA: TcxGridDBColumn
              Caption = 'Ganhadores Quina'
              DataBinding.FieldName = 'GANHADORES_QUINA'
              Width = 95
            end
            object grdvwGanhadoresRATEIO_QUINA: TcxGridDBColumn
              Caption = 'Rateio Quina'
              DataBinding.FieldName = 'RATEIO_QUINA'
              Width = 75
            end
            object grdvwGanhadoresGANHADORES_QUADRA: TcxGridDBColumn
              Caption = 'Ganhadores Quadra'
              DataBinding.FieldName = 'GANHADORES_QUADRA'
              Width = 106
            end
            object grdvwGanhadoresRATEIO_QUADRA: TcxGridDBColumn
              Caption = 'Rateio Quadra'
              DataBinding.FieldName = 'RATEIO_QUADRA'
              Width = 80
            end
            object grdvwGanhadoresI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 129
            end
            object grdvwGanhadoresI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
            end
          end
          object grdlvGanhadores: TcxGridLevel
            GridView = grdvwGanhadores
          end
        end
      end
      object tbsDezenas: TcxTabSheet
        Caption = 'Dezenas'
        ImageIndex = 2
        object grdDezenas: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          object grdvwDezenas: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsDezenas
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end
              item
                Kind = skCount
                FieldName = 'CONCURSO'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwDezenasHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
              Width = 53
            end
            object grdvwDezenasHANDLE_CONCURSO: TcxGridDBColumn
              Caption = 'Handle Concurso'
              DataBinding.FieldName = 'HANDLE_CONCURSO'
              Width = 85
            end
            object grdvwDezenasNUMERO_DEZENA: TcxGridDBColumn
              Caption = 'N'#250'mero Dezena'
              DataBinding.FieldName = 'NUMERO_DEZENA'
              Width = 84
            end
            object grdvwDezenasVALOR_DEZENA: TcxGridDBColumn
              Caption = 'Valor Dezena'
              DataBinding.FieldName = 'VALOR_DEZENA'
              Width = 74
            end
            object grdvwDezenasLINHA: TcxGridDBColumn
              Caption = 'Linha'
              DataBinding.FieldName = 'LINHA'
              Width = 44
            end
            object grdvwDezenasCOLUNA: TcxGridDBColumn
              Caption = 'Coluna'
              DataBinding.FieldName = 'COLUNA'
              Width = 47
            end
            object grdvwDezenasFREQUENCIA: TcxGridDBColumn
              Caption = 'Frequencia'
              DataBinding.FieldName = 'FREQUENCIA'
            end
            object grdvwDezenasATRAZO: TcxGridDBColumn
              Caption = 'Atrazo'
              DataBinding.FieldName = 'ATRAZO'
            end
            object grdvwDezenasVIZINHOS: TcxGridDBColumn
              Caption = 'Vizinhos'
              DataBinding.FieldName = 'VIZINHOS'
              Width = 65
            end
            object grdvwDezenasI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 60
            end
            object grdvwDezenasI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
            end
          end
          object grdlvDezenas: TcxGridLevel
            GridView = grdvwDezenas
          end
        end
      end
      object tbsIntervalos: TcxTabSheet
        Caption = 'Intervalos'
        ImageIndex = 4
        object grdIntervalo: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          object grdvwIntervalo: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsIntervalos
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end
              item
                Kind = skCount
                FieldName = 'CONCURSO'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwIntervaloHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
            end
            object grdvwIntervaloHANDLE_CONCURSO: TcxGridDBColumn
              Caption = 'Handle Concurso'
              DataBinding.FieldName = 'HANDLE_CONCURSO'
              Width = 87
            end
            object grdvwIntervaloINTERVALO_1: TcxGridDBColumn
              Caption = '1'#186' Intervalo'
              DataBinding.FieldName = 'INTERVALO_1'
            end
            object grdvwIntervaloINTERVALO_2: TcxGridDBColumn
              Caption = '2'#186' Intervalo'
              DataBinding.FieldName = 'INTERVALO_2'
            end
            object grdvwIntervaloINTERVALO_3: TcxGridDBColumn
              Caption = '3'#186' Intervalo'
              DataBinding.FieldName = 'INTERVALO_3'
            end
            object grdvwIntervaloINTERVALO_4: TcxGridDBColumn
              Caption = '4'#186' Intervalo'
              DataBinding.FieldName = 'INTERVALO_4'
            end
            object grdvwIntervaloINTERVALO_5: TcxGridDBColumn
              Caption = '5'#186' Intervalo'
              DataBinding.FieldName = 'INTERVALO_5'
            end
            object grdvwIntervaloSOMA_INTERVALO: TcxGridDBColumn
              Caption = 'Soma Intervalos'
              DataBinding.FieldName = 'SOMA_INTERVALO'
              Width = 86
            end
            object grdvwIntervaloFREQUENCIA: TcxGridDBColumn
              Caption = 'Frequencia'
              DataBinding.FieldName = 'FREQUENCIA'
            end
            object grdvwIntervaloATRAZO: TcxGridDBColumn
              Caption = 'Atrazo'
              DataBinding.FieldName = 'ATRAZO'
            end
            object grdvwIntervaloCLASSIFICACAO: TcxGridDBColumn
              Caption = 'Classifica'#231#227'o'
              DataBinding.FieldName = 'CLASSIFICACAO'
              Width = 232
            end
            object grdvwIntervaloI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 121
            end
            object grdvwIntervaloI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
              Width = 89
            end
          end
          object grdlvIntervalo: TcxGridLevel
            GridView = grdvwIntervalo
          end
        end
      end
      object tbsVizinhos: TcxTabSheet
        Caption = 'Vizinhos'
        ImageIndex = 5
        object grdVizinhos: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          object grdvwVizinhos: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsVizinhos
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end
              item
                Kind = skCount
                FieldName = 'CONCURSO'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwVizinhosHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
              Width = 44
            end
            object grdvwVizinhosHANDLE_CONCURSO: TcxGridDBColumn
              Caption = 'Handle Concurso'
              DataBinding.FieldName = 'HANDLE_CONCURSO'
              Width = 87
            end
            object grdvwVizinhosVALOR_DEZENA: TcxGridDBColumn
              Caption = 'Valor Dezena'
              DataBinding.FieldName = 'VALOR_DEZENA'
              Width = 67
            end
            object grdvwVizinhosPRIMEIRA_DEZENA: TcxGridDBColumn
              Caption = '1'#170' Dezena'
              DataBinding.FieldName = 'PRIMEIRA_DEZENA'
            end
            object grdvwVizinhosSEGUNDA_DEZENA: TcxGridDBColumn
              Caption = '2'#170' Dezena'
              DataBinding.FieldName = 'SEGUNDA_DEZENA'
            end
            object grdvwVizinhosTERCEIRA_DEZENA: TcxGridDBColumn
              Caption = '3'#170' Dezena'
              DataBinding.FieldName = 'TERCEIRA_DEZENA'
            end
            object grdvwVizinhosQUARTA_DEZENA: TcxGridDBColumn
              Caption = '4'#170' Dezena'
              DataBinding.FieldName = 'QUARTA_DEZENA'
            end
            object grdvwVizinhosQUINTA_DEZENA: TcxGridDBColumn
              Caption = '5'#170' Dezena'
              DataBinding.FieldName = 'QUINTA_DEZENA'
            end
            object grdvwVizinhosSEXTA_DEZENA: TcxGridDBColumn
              Caption = '6'#170' Dezena'
              DataBinding.FieldName = 'SEXTA_DEZENA'
            end
            object grdvwVizinhosFREQUENCIA: TcxGridDBColumn
              Caption = 'Frequencia'
              DataBinding.FieldName = 'FREQUENCIA'
            end
            object grdvwVizinhosATRAZO: TcxGridDBColumn
              Caption = 'Atrazo'
              DataBinding.FieldName = 'ATRAZO'
            end
            object grdvwVizinhosPOSSUI_VIZINHOS: TcxGridDBColumn
              Caption = 'Possui Vizinhos'
              DataBinding.FieldName = 'POSSUI_VIZINHOS'
              Width = 81
            end
            object grdvwVizinhosTIPO_VIZINHO: TcxGridDBColumn
              Caption = 'Tipo Vizinho '
              DataBinding.FieldName = 'TIPO_VIZINHO'
              Width = 237
            end
            object grdvwVizinhosI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 81
            end
            object grdvwVizinhosI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
              Width = 83
            end
          end
          object grdlvVizinhos: TcxGridLevel
            GridView = grdvwVizinhos
          end
        end
      end
      object tbsHorizontal: TcxTabSheet
        Caption = 'Horizontal'
        ImageIndex = 6
        object grdHorizontal: TcxGrid
          Left = 0
          Top = 0
          Width = 1036
          Height = 235
          Align = alClient
          TabOrder = 0
          ExplicitLeft = 1
          ExplicitTop = 1
          ExplicitWidth = 1046
          ExplicitHeight = 439
          object grdvwHorizontal: TcxGridDBTableView
            NavigatorButtons.ConfirmDelete = False
            NavigatorButtons.First.Hint = 'Primeiro'
            NavigatorButtons.First.Visible = True
            NavigatorButtons.PriorPage.Visible = False
            NavigatorButtons.Prior.Hint = 'Anterior'
            NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
            NavigatorButtons.NextPage.Visible = False
            NavigatorButtons.Last.Hint = #218'ltimo'
            NavigatorButtons.Insert.Hint = 'Incluir'
            NavigatorButtons.Insert.Visible = False
            NavigatorButtons.Delete.Hint = 'Excluir'
            NavigatorButtons.Delete.Visible = False
            NavigatorButtons.Edit.Hint = 'Alterar'
            NavigatorButtons.Edit.Visible = False
            NavigatorButtons.Post.Hint = 'Salvar'
            NavigatorButtons.Post.Visible = False
            NavigatorButtons.Cancel.Hint = 'Cancelar'
            NavigatorButtons.Cancel.Visible = False
            NavigatorButtons.Refresh.Enabled = False
            NavigatorButtons.Refresh.Visible = False
            NavigatorButtons.SaveBookmark.Visible = False
            NavigatorButtons.GotoBookmark.Visible = False
            NavigatorButtons.Filter.Visible = False
            DataController.DataSource = DM.dtsHorizontal
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skSum
                FieldName = 'TOTALTEMPODECORRIDO'
              end
              item
                Kind = skSum
                FieldName = 'TOTALTEMPOESTIMADO'
              end
              item
                Kind = skCount
                FieldName = 'IDATIVIDADE'
              end
              item
                Kind = skCount
                FieldName = 'CONCURSO'
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsBehavior.IncSearch = True
            OptionsBehavior.NavigatorHints = True
            OptionsCustomize.ColumnsQuickCustomization = True
            OptionsData.CancelOnExit = False
            OptionsData.Deleting = False
            OptionsData.DeletingConfirmation = False
            OptionsData.Editing = False
            OptionsData.Inserting = False
            OptionsSelection.HideFocusRectOnExit = False
            OptionsView.Navigator = True
            OptionsView.Footer = True
            object grdvwHorizontalHANDLE: TcxGridDBColumn
              Caption = 'Handle'
              DataBinding.FieldName = 'HANDLE'
            end
            object grdvwHorizontalHANDLE_CONCURSO: TcxGridDBColumn
              Caption = 'Handle Concurso'
              DataBinding.FieldName = 'HANDLE_CONCURSO'
            end
            object grdvwHorizontalHORIZONTAL_1: TcxGridDBColumn
              Caption = 'Horizontal 1'
              DataBinding.FieldName = 'HORIZONTAL_1'
              Width = 67
            end
            object grdvwHorizontalHORIZONTAL_2: TcxGridDBColumn
              Caption = 'Horizontal 2'
              DataBinding.FieldName = 'HORIZONTAL_2'
              Width = 68
            end
            object grdvwHorizontalHORIZONTAL_3: TcxGridDBColumn
              Caption = 'Horizontal 3'
              DataBinding.FieldName = 'HORIZONTAL_3'
              Width = 66
            end
            object grdvwHorizontalHORIZONTAL_4: TcxGridDBColumn
              Caption = 'Horizontal 4'
              DataBinding.FieldName = 'HORIZONTAL_4'
              Width = 64
            end
            object grdvwHorizontalHORIZONTAL_5: TcxGridDBColumn
              Caption = 'Horizontal 5'
              DataBinding.FieldName = 'HORIZONTAL_5'
              Width = 65
            end
            object grdvwHorizontalFREQUENCIA: TcxGridDBColumn
              Caption = 'Frequencia'
              DataBinding.FieldName = 'FREQUENCIA'
            end
            object grdvwHorizontalATRAZO: TcxGridDBColumn
              Caption = 'Atrazo'
              DataBinding.FieldName = 'ATRAZO'
            end
            object grdvwHorizontalI_USU: TcxGridDBColumn
              Caption = 'I Usu'
              DataBinding.FieldName = 'I_USU'
              Width = 75
            end
            object grdvwHorizontalI_DATA: TcxGridDBColumn
              Caption = 'I Data'
              DataBinding.FieldName = 'I_DATA'
            end
          end
          object grdlvHorizontal: TcxGridLevel
            GridView = grdvwHorizontal
          end
        end
      end
      object tbsConfiguracoes: TcxTabSheet
        Caption = 'Configura'#231#245'es'
        ImageIndex = 3
        object grpSkin: TcxGroupBox
          Left = 7
          Top = 3
          Caption = 'Selecione o Skin Desejado'
          TabOrder = 0
          Height = 87
          Width = 145
          object cbbSkin: TcxComboBox
            Left = 10
            Top = 26
            Properties.DropDownListStyle = lsFixedList
            Properties.Items.Strings = (
              'Sem Skin'
              'Preto'
              'Azul'
              'Caramelo'
              'Caf'#233
              'Darkroom'
              'Dakrside'
              'Foggy'
              'Glass Oceans'
              'iMaginary'
              'Lilas'
              'LiquidSky'
              'LondonLiquidSky'
              'McSkin'
              'MoneyTwins'
              'Office 2007 - Preto'
              'Office 2007 - Azul'
              'Office 2007 - Verde'
              'Office 2007 - Rosa'
              'Office 2007 - Prata'
              'Dia das Bruxas'
              'Seven'
              'Sharp'
              'Prata'
              'Primavera'
              'StarDust'
              'Ver'#227'o'
              'Dia dos Namorados'
              'Natal - Azul')
            Properties.ReadOnly = False
            TabOrder = 0
            Text = 'Sem Skin'
            Width = 121
          end
        end
        object btnSalvarConfig: TcxButton
          Left = 3
          Top = 197
          Width = 75
          Height = 25
          Caption = 'Salvar'
          TabOrder = 1
          OnClick = btnSalvarConfigClick
        end
      end
    end
    object grdImpResultados: TcxGrid
      Left = 1
      Top = 1
      Width = 1046
      Height = 439
      Align = alClient
      TabOrder = 1
      object grdvwImpResultados: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        NavigatorButtons.First.Hint = 'Primeiro'
        NavigatorButtons.First.Visible = True
        NavigatorButtons.PriorPage.Visible = False
        NavigatorButtons.Prior.Hint = 'Anterior'
        NavigatorButtons.Next.Hint = 'Pr'#243'ximo'
        NavigatorButtons.NextPage.Visible = False
        NavigatorButtons.Last.Hint = #218'ltimo'
        NavigatorButtons.Insert.Hint = 'Incluir'
        NavigatorButtons.Insert.Visible = False
        NavigatorButtons.Delete.Hint = 'Excluir'
        NavigatorButtons.Delete.Visible = False
        NavigatorButtons.Edit.Hint = 'Alterar'
        NavigatorButtons.Edit.Visible = False
        NavigatorButtons.Post.Hint = 'Salvar'
        NavigatorButtons.Post.Visible = False
        NavigatorButtons.Cancel.Hint = 'Cancelar'
        NavigatorButtons.Cancel.Visible = False
        NavigatorButtons.Refresh.Enabled = False
        NavigatorButtons.Refresh.Visible = False
        NavigatorButtons.SaveBookmark.Visible = False
        NavigatorButtons.GotoBookmark.Visible = False
        NavigatorButtons.Filter.Visible = False
        DataController.DataSource = DM.dtsImpResultados
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            FieldName = 'TOTALTEMPODECORRIDO'
          end
          item
            Kind = skSum
            FieldName = 'TOTALTEMPOESTIMADO'
          end
          item
            Kind = skCount
            FieldName = 'IDATIVIDADE'
          end
          item
            Kind = skCount
            FieldName = 'CONCURSO'
            Column = grdvwImpResultadosCONCURSO
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsBehavior.IncSearch = True
        OptionsBehavior.NavigatorHints = True
        OptionsCustomize.ColumnsQuickCustomization = True
        OptionsData.CancelOnExit = False
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Editing = False
        OptionsData.Inserting = False
        OptionsSelection.HideFocusRectOnExit = False
        OptionsView.Navigator = True
        OptionsView.Footer = True
        object grdvwImpResultadosCONCURSO: TcxGridDBColumn
          Caption = 'Concurso'
          DataBinding.FieldName = 'CONCURSO'
        end
        object grdvwImpResultadosDATA_SORTEIO: TcxGridDBColumn
          Caption = 'Dt Sorteio'
          DataBinding.FieldName = 'DATA_SORTEIO'
          Width = 67
        end
        object grdvwImpResultadosPRIMEIRA_DEZENA: TcxGridDBColumn
          Caption = '1'#170' Dezena'
          DataBinding.FieldName = 'PRIMEIRA_DEZENA'
        end
        object grdvwImpResultadosSEGUNDA_DEZENA: TcxGridDBColumn
          Caption = '2'#170' Dezena'
          DataBinding.FieldName = 'SEGUNDA_DEZENA'
        end
        object grdvwImpResultadosTERCEIRA_DEZENA: TcxGridDBColumn
          Caption = '3'#170' Dezena'
          DataBinding.FieldName = 'TERCEIRA_DEZENA'
        end
        object grdvwImpResultadosQUARTA_DEZENA: TcxGridDBColumn
          Caption = '4'#170' Dezena'
          DataBinding.FieldName = 'QUARTA_DEZENA'
        end
        object grdvwImpResultadosQUINTA_DEZENA: TcxGridDBColumn
          Caption = '5'#170' Dezena'
          DataBinding.FieldName = 'QUINTA_DEZENA'
        end
        object grdvwImpResultadosSEXTA_DEZENA: TcxGridDBColumn
          Caption = '6'#170' Dezena'
          DataBinding.FieldName = 'SEXTA_DEZENA'
        end
        object grdvwImpResultadosARRECADACAO_TOTAL: TcxGridDBColumn
          Caption = 'Arrecada'#231#227'o Total'
          DataBinding.FieldName = 'ARRECADACAO_TOTAL'
          Width = 99
        end
        object grdvwImpResultadosGANHADORES_SENA: TcxGridDBColumn
          Caption = 'Ganhadores Sena'
          DataBinding.FieldName = 'GANHADORES_SENA'
        end
        object grdvwImpResultadosRATEIO_SENA: TcxGridDBColumn
          Caption = 'Rateio Sena'
          DataBinding.FieldName = 'RATEIO_SENA'
        end
        object grdvwImpResultadosGANHADORES_QUINA: TcxGridDBColumn
          Caption = 'Ganhadores Quina'
          DataBinding.FieldName = 'GANHADORES_QUINA'
          Width = 96
        end
        object grdvwImpResultadosRATEIO_QUINA: TcxGridDBColumn
          Caption = 'Rateio Quina'
          DataBinding.FieldName = 'RATEIO_QUINA'
          Width = 69
        end
        object grdvwImpResultadosGANHADORES_QUADRA: TcxGridDBColumn
          Caption = 'Ganhadores Quadra'
          DataBinding.FieldName = 'GANHADORES_QUADRA'
          Width = 104
        end
        object grdvwImpResultadosRATEIO_QUADRA: TcxGridDBColumn
          Caption = 'Rateio Quadra'
          DataBinding.FieldName = 'RATEIO_QUADRA'
          Width = 79
        end
        object grdvwImpResultadosACUMULADO: TcxGridDBColumn
          Caption = 'Acumulado'
          DataBinding.FieldName = 'ACUMULADO'
          Width = 56
        end
        object grdvwImpResultadosVALOR_ACUMULADO: TcxGridDBColumn
          Caption = 'Valor Acumulado'
          DataBinding.FieldName = 'VALOR_ACUMULADO'
          Width = 87
        end
        object grdvwImpResultadosESTIMATIVA_PREMIO: TcxGridDBColumn
          Caption = 'Estimativa Pr'#234'mio'
          DataBinding.FieldName = 'ESTIMATIVA_PREMIO'
          Width = 89
        end
        object grdvwImpResultadosACUMULADO_NATAL: TcxGridDBColumn
          Caption = 'Acumulado Natal'
          DataBinding.FieldName = 'ACUMULADO_NATAL'
          Width = 95
        end
      end
      object grdlvImpResultados: TcxGridLevel
        GridView = grdvwImpResultados
      end
    end
  end
end
